package com.woniuxy.myorders.service;

import com.woniuxy.commons.entity.Orders;

import java.util.List;

/**
 * @author lhc
 * @create 2021-11-11 17:28
 */
public interface OrdersService {
    void updateOrdersById(Orders orders);
    //查询全部
    List<Orders> selectAllOrders();
    //分页查询
    List<Orders> selectOrdersByPage(Orders orders, Integer pageIndex, Integer pageSize);
    //分页总条数
    int selectCountOrdersByPage(Orders orders, Integer pageIndex,Integer pageSize);
}
